package com.example.ssss.data.entity;

public class User {

    private String userId;
    private String sex;
    private String password;
    private String username;
    private String high;
    private String weight;
    private String age;
    private String name;
    private String medicalHistory;
    private String birthday;
    private String ABO;
    private String allergic;
    private String habits;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMedicalHistory() {
        return medicalHistory;
    }

    public void setMedicalHistory(String medicalHistory) {
        this.medicalHistory = medicalHistory;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getABO() {
        return ABO;
    }

    public void setABO(String ABO) {
        this.ABO = ABO;
    }

    public String getAllergic() {
        return allergic;
    }

    public void setAllergic(String allergic) {
        this.allergic = allergic;
    }

    public String getHabits() {
        return habits;
    }

    public void setHabits(String habits) {
        this.habits = habits;
    }

    public void UserInit(String userId, String name, String medicalHistory, String birthday, String ABO, String allergic, String habits,String high, String weight) {
        this.userId = userId;
        this.name = name;
        this.medicalHistory = medicalHistory;
        this.birthday = birthday;
        this.ABO = ABO;
        this.allergic = allergic;
        this.habits = habits;
        this.high = high;
        this.weight=weight;
    }

    public User(String userId, String sex, String password, String username,  String age) {
        this.userId = userId;
        this.sex = sex;
        this.password = password;
        this.username = username;
        this.high = high;
        this.weight = weight;
        this.age = age;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getHigh() {
        return high;
    }

    public void setHigh(String high) {
        this.high = high;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public User() {
    }

}